module.exports = {
  // configureWebpack: {
  //   externals: {},
  // },
  chainWebpack: (config) => {
    config.plugin("html").tap((args) => {
      args[0].title = "你的表单";
      return args;
    });
  },
  devServer: {
    proxy: {
      "/api": {
        target: "http://localhost:8889",
        changeOrigin: true,
        pathRewrite: {
          // 路由重写
          // '^/api': '/'
        },
      },
    },
  },
};
